package com.zhitan.ems.app.stat.config.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhitan.ems.framework.core.mp.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import com.zhitan.ems.common.annotation.Excel;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModelProperty;

/**
 * 能源单价
 * 
 * @author zhitan
 * 
 * @date 2025-10-04 22:06:01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ems_cost_unit")
public class CostUnitEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;
	/**
	 * 
	 */
	@TableId
	@Excel(name = "ID")
	private Long id;
	/**
	 * 能源类型
	 */
	@ApiModelProperty("能源类型")
	@Excel(name = "能源类型")
	private Integer energyType;
	/**
	 * 名称
	 */
	@ApiModelProperty("名称")
	@Excel(name = "名称")
	private String name;
	/**
	 * 单价
	 */
	@ApiModelProperty("单价")
	@Excel(name = "单价")
	private BigDecimal price;
	/**
	 * 
	 */
	@Excel(name = "单位名称")
	private String costUnit;
	/**
	 * 顺序
	 */
	@ApiModelProperty("顺序")
	@Excel(name = "顺序")
	private Integer sortOrder;
	/**
	 * 创建时间
	 */
	@ApiModelProperty("创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date createAt;
	/**
	 * 更新时间
	 */
	@ApiModelProperty("更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date updateAt;
	@ApiModelProperty("数据点Code")
	private String dataCode;
	
	@ApiModelProperty("标顿煤")
	private BigDecimal carbonStanTonCoal;
}